Skip to main content
Version: 1.0.0

setLang(lang)

change language of all texts in widget checkbox and challenge

You can change the language by using setLang() method(usefull in runtime):

window.arcaptcha.setLang("en");

You can also do it by setting data-lang property on widget container :

<div class="arcaptcha" data-site-key="SITE_KEY" data-lang="en"></div>